package com.ws.shop.service;

import java.util.List;

import com.ws.shop.bean.Page;
import com.ws.shop.entity.Order;

public interface OrderService {

	public Page findOrderListPage(int pageno,int pagesize, String name, String start,
			String end, int aid, int type);

	public void updateOrderState(int id, int i);

	public Order findOrderById(int id);

	public List<Order> getOrderList(final int type,final long aid,final int state );
	
	public void mallorder(final Page page,final int type,final long uid);
	
	public void orderPayment(final Page page,final int type,final long uid);
	
	public int clinch(final long uid,final long oid);
	
	public void loseOrder(final Page page,final int state,final long uid);
	
	public Order getOne(final long uid, final long id, final int state,final int type );
	
	public int updateOrder(final Order order);
}
